{extend name="public:layout" /}

{block name="title"}
    <title>{:site('siteName')}-基本信息</title>
{/block}

{block name="css"}
    <style>
        .layui-form-label{width:60px;    padding: 9px 6px;}
        .layui-input-block{margin-left:75px;margin-right:10px;}
        .layui-form-item { margin-bottom: 9px;}
        .layui-input::-webkit-input-placeholder{ color: #999;font-size:12px;}
        .layui-input::-moz-placeholder{  color: #999;font-size:12px; }
        .layui-input:-ms-input-placeholder{color: #999;font-size:12px;}
    </style>
{/block}

{block name="content"}
    <div class="head">基本信息</div>
    <form class="layui-form user-data" action="{:url('index/user/info')}">
        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" name="" value="{$user->username}" readonly="readonly" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="nickname" value="{$user->nickname}" placeholder="设置后不可修改" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="realname" value="{$user->realname}" lay-verify="required" placeholder="乱填可能导致提现失败" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">身份证号</label>
            <div class="layui-input-block">
                <input type="text" name="identity" value="{$user->identity}" lay-verify="required" placeholder="请填写15或18位身份证号" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" name="" value="{$user->mobile}" readonly="readonly" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">邮箱地址</label>
            <div class="layui-input-block">
                <input type="text" name="email" value="{$user->email}" lay-verify="required" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">QQ号</label>
            <div class="layui-input-block">
                <input type="text" name="qq" value="{$user->qq}" lay-verify="required" placeholder="方便客服联系。" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">微信号</label>
            <div class="layui-input-block">
                <input type="text" name="wechat" value="{$user->wechat}" placeholder="方便客服联系。" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">支付宝号</label>
            <div class="layui-input-block">
                <input type="text" name="alipay" value="{$user->alipay}" lay-verify="required" placeholder="支付宝必须和姓名一致。" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">开户行</label>
            <div class="layui-input-block">
                <input type="text" name="bank" value="{$user->bank}" placeholder="请填写详细的开户行地址。" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item" style="padding-top: 10px;">
            <label class="layui-form-label">卡号</label>
            <div class="layui-input-block">
                <input type="text" name="bank_card" value="{$user->bank_card}" placeholder="请输入银行卡号，银行卡所有人和姓名一致" class="layui-input">
          </div>
        </div>
        <input type="hidden" name="id" value="{$user->id}">
        <input type="hidden" name="__token__" value="{$Request.token}" />
        <button class="login_submit" style="background:#5FB878;color: #fff;margin-bottom: 15px;" lay-submit>确&nbsp;&nbsp;定</button>
    </form>
{/block}

{block name="script"}

{/block}